package businessLogic;

import enums.BLToViewResultMessage;
import businessLogicService.FavorBLService;

public class FavorController implements FavorBLService {

	@Override
	public BLToViewResultMessage requireFavor(int bookID) {
		if (bookID > 0) {
			return BLToViewResultMessage.FAVOR_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage cancelFavor(int bookID) {
		if (bookID > 0) {
			return BLToViewResultMessage.CANCEL_FAVOR_SUCCESS;
		}
		return null;
	}

}
